using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using SiteManager;

public partial class HTML_Result : System.Web.UI.Page
{
    SiteManager.Manager objManager = new Manager(true,"ConnectionString");
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["value"] != string.Empty)
            {
                PopulateDoctorList(Request.QueryString["value"].ToString());

            }
        }
        
    }
    void PopulateDoctorList(String strdocname)
    {
        SqlParameter[] arrParameters={ new SqlParameter("@start", SqlDbType.VarChar),
         
        };
        arrParameters[0].Value = strdocname;
        mydatalist.DataSource = objManager.ExecuteQuery("HC_SearchDoctor", arrParameters, "tbl_doctors");
        mydatalist.DataBind();
    }
}
